<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>homework2</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        div{
            display: inline-block;
        }
        .left{
            width: 611px;
            height: 376px;
            background-color: #e8e8e8;
            background-image: url("computer1.png");
            background-repeat: no-repeat;
            background-size: 318px 319px;
            background-position-x: 265px;
            background-position-y: 35px;
            overflow: hidden;
        }
        .right{
            width: 375px;
            height: 376px;
            background-color: #e8e8e8;
            background-image: url("computer2.png");
            background-repeat: no-repeat;
            background-position-x: 75px;
            background-position-y: 130px;
            overflow: hidden;
        }
        .left_text {
            width: 245px;
            height: 232px;
            margin-top: 68px;
            margin-left: 36px;
            background-color: #e8e8e8;
        }
        .right_text{
            width: 245px;
            height: 232px;
            margin-top: 39px;
            margin-left: 25px;
            background-color: #e8e8e8;
        }

        .title{
            font: 32px lighter;
            color: #333;
            margin-bottom: 12px;
        }
        .text12{
            font: 12px lighter;
            color: #666;
            margin-top: 12px;
        }
        .price{
            font: 24px bold;
            color: #0aa1ed;
            margin-top: 24px;
        }

        .b2{
            margin-top: 10px;
            width: 132px;
            height: 40px;
            background-color: #0aa1ed;
            color: #fff;
            border: #0aa1ed;
            border-radius: 3px;
        }
        a{
            color: #fff;
            text-decoration-color: #fff ;
            font-size: 20px;
            text-decoration: none;
        }

    </style>
</head>
<body>
    <div class="left">
        <div class="left_text">
            <div class="title">灵越 燃7000系列</div>
            <p class="text12">酷睿双核i5处理器|256GB SSD|8GB内存<br>英特尔HD显卡620</p>
            <div class="price">￥4999.00</div>
            <br>
            <button class="b2" value="查看详情"><a href="#">查看详情</a></button>
        </div>
    </div>
    <div class="right">
        <div class="right_text">
            <div class="title">颜值 框不住</div>
            <div class="text12">酷睿双核i5处理器|256GB SSD|8GB内存<br>英特尔HD显卡620</div>
            <div class="price">￥6888.00</div>
            <br>
            <button class="b2" value="查看详情"><a href="#">查看详情</a></button>

        </div>
    </div>

</body>
</html>